home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Attack⁄DoS / MacBackOrificePPC.sit / MacBackOrificePPC / PLUGIN.TXT < prev    next >
Text File  |  1998-07-24  |  892b  |  23 lines

  1. Back Orifice plugin interface documentation
  2.  
  3.  
  4. To write your own plugin for Back Orifice, simply create a DLL with functions
  5. in the form:
  6.  
  7. char *YourFunc(int *active, char *args)
  8.  
  9.  
  10. The Plugin execute command allows you to specify a dll and function name in
  11. the form "dll:_Function".  The rest of the paramaters are passed to your
  12. function in the args paramater.  The only thing your application is
  13. responsible for is to monitor the int that active is pointing to.  If that
  14. value becomes 0, the user has requested that this plugin exit and your
  15. function should return as quickly as possible after shutting down whatever is
  16. necessary.  Your program can either return NULL, or it can return a pointer
  17. to a static buffer containing a text message that will be displayed to the
  18. user.  The DLL will not be unloaded until after the text has been copied from
  19. that buffer.
  20.  
  21. That's all there is to it.
  22.  
  23.